package org.example.travel.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("scenic_spot")
public class ScenicSpot {
    @TableId(type = IdType.AUTO)
    private Long spotId;
    private String name;
    private String description;
    private String location;
    private Double heatScore;
    private Long view;
    private Long collect;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
